package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.CourseGoods;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CourseGoodsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CourseGoods record);

    int insertSelective(CourseGoods record);

    CourseGoods selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CourseGoods record);

    int updateByPrimaryKey(CourseGoods record);

    CourseGoods findOneByUserIdAndCourseId(@Param("userId")Long userId,@Param("courseId")Long courseId);

}